package com.example.service;

import com.example.pojo.Area_code;
import com.example.pojo.Poetry;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;


public interface PoetryService {
    List<Poetry> locate_and_poetry(int location_id);
    List<Poetry> locate_all_poetry(int location_id);
//    void create_view(int location_id);
//    List<Poetry> select_view(int location_id);
//    void drop_view();
    void create_index();
//    void drop_index();
    void alter_code();
    String detail_url(int id);
    Poetry poetry_all(int id);
    int count_poetry();
    List<Area_code> search_area_name(String key);
    List<Poetry> search_poetry_name(String key);
    List<String> province_below(int location_id);
    List<String> select_area();
    void add_column_num();
    void add_num(String code,int poetry_num);
    int get_locate_poetry(String code);
    String check_column();
    void delete_area();
}
